<template>
    <div>
        <button>展开/折叠</button>
        Navbar---
        <div>vue3单位件组件</div>
    </div>
</template>
<style scoped>
div{
    background-color: pink;
}
</style>